Optimal. Leaf size=93 \[ \frac{2 \sqrt{c} \tanh ^{-1}\left (\frac{\sqrt{c} \sqrt{a+\frac{b}{x}}}{\sqrt{a} \sqrt{c+\frac{d}{x}}}\right )}{\sqrt{a}}-\frac{2 \sqrt{d} \tanh ^{-1}\left (\frac{\sqrt{d} \sqrt{a+\frac{b}{x}}}{\sqrt{b} \sqrt{c+\frac{d}{x}}}\right )}{\sqrt{b}} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.304946, antiderivative size = 93, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 5, integrand size = 26, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.192 \[ \frac{2 \sqrt{c} \tanh ^{-1}\left (\frac{\sqrt{c} \sqrt{a+\frac{b}{x}}}{\sqrt{a} \sqrt{c+\frac{d}{x}}}\right )}{\sqrt{a}}-\frac{2 \sqrt{d} \tanh ^{-1}\left (\frac{\sqrt{d} \sqrt{a+\frac{b}{x}}}{\sqrt{b} \sqrt{c+\frac{d}{x}}}\right )}{\sqrt{b}} \]
Antiderivative was successfully verified.
[In] Int[Sqrt[c + d/x]/(Sqrt[a + b/x]*x),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 22.8151, size = 80, normalized size = 0.86 \[ - \frac{2 \sqrt{d} \operatorname{atanh}{\left (\frac{\sqrt{b} \sqrt{c + \frac{d}{x}}}{\sqrt{d} \sqrt{a + \frac{b}{x}}} \right )}}{\sqrt{b}} + \frac{2 \sqrt{c} \operatorname{atanh}{\left (\frac{\sqrt{c} \sqrt{a + \frac{b}{x}}}{\sqrt{a} \sqrt{c + \frac{d}{x}}} \right )}}{\sqrt{a}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((c+d/x)**(1/2)/x/(a+b/x)**(1/2),x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.242667, size = 134, normalized size = 1.44 \[ -\frac{\sqrt{d} \log \left (2 \sqrt{b} \sqrt{d} x \sqrt{a+\frac{b}{x}} \sqrt{c+\frac{d}{x}}+a d x+b c x+2 b d\right )}{\sqrt{b}}+\frac{\sqrt{c} \log \left (2 \sqrt{a} \sqrt{c} x \sqrt{a+\frac{b}{x}} \sqrt{c+\frac{d}{x}}+a (2 c x+d)+b c\right )}{\sqrt{a}}+\frac{\sqrt{d} \log (x)}{\sqrt{b}} \]
Antiderivative was successfully verified.
[In] Integrate[Sqrt[c + d/x]/(Sqrt[a + b/x]*x),x]
[Out]
_______________________________________________________________________________________
Maple [B] time = 0.048, size = 142, normalized size = 1.5 \[{x\sqrt{{\frac{ax+b}{x}}}\sqrt{{\frac{cx+d}{x}}} \left ( \ln \left ({\frac{1}{2} \left ( 2\,acx+2\,\sqrt{ \left ( cx+d \right ) \left ( ax+b \right ) }\sqrt{ac}+ad+bc \right ){\frac{1}{\sqrt{ac}}}} \right ) c\sqrt{bd}-\ln \left ({\frac{1}{x} \left ( adx+bcx+2\,\sqrt{bd}\sqrt{ \left ( cx+d \right ) \left ( ax+b \right ) }+2\,bd \right ) } \right ) d\sqrt{ac} \right ){\frac{1}{\sqrt{ \left ( cx+d \right ) \left ( ax+b \right ) }}}{\frac{1}{\sqrt{ac}}}{\frac{1}{\sqrt{bd}}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((c+d/x)^(1/2)/x/(a+b/x)^(1/2),x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: ValueError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(sqrt(c + d/x)/(sqrt(a + b/x)*x),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.463091, size = 1, normalized size = 0.01 \[ \text{result too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(sqrt(c + d/x)/(sqrt(a + b/x)*x),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{\sqrt{c + \frac{d}{x}}}{x \sqrt{a + \frac{b}{x}}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((c+d/x)**(1/2)/x/(a+b/x)**(1/2),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{\sqrt{c + \frac{d}{x}}}{\sqrt{a + \frac{b}{x}} x}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(sqrt(c + d/x)/(sqrt(a + b/x)*x),x, algorithm="giac")
[Out]